<!DOCTYPE html>
<body>
<!-- Test that audio & video controls lay out identically in RTL and LTR contexts. -->
<div style="direction:ltr;"><video controls></video></div>
<div style="direction:rtl; text-align:left;"><video controls></video></div>
<div style="direction:ltr;"><audio controls></audio></div>
<div style="direction:rtl; text-align:left;"><audio controls></audio></div>
</div>
</body>
